package com.baiyi.cloud.platform.oa.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.baiyi.cloud.platform.oa.entity.SysUser;
import com.baiyi.cloud.platform.oa.mapper.SysUserMapper;
import com.baiyi.cloud.platform.uc.entity.UcUser;
import com.baiyi.cloud.platform.uc.mapper.UcUserMapper;

@RestController
public class UserController {

    @Autowired
    private SysUserMapper sysUserMapper;
    
    
    @Autowired
    private UcUserMapper ucUserMapper;
	
	@RequestMapping("/getUsers")
	public void getUsers() {
		System.out.println(sysUserMapper);
		SysUser users = sysUserMapper.getById(6);
		System.out.println(users);
		
		
		UcUser user = ucUserMapper.getById(1);
		System.out.println(user);
	}
    
}